jQuery
onscroll=throttle(300,function(){////BigexpensiveAJAXcallhere//});.OrifyouareajQuerykindofpersonthenyoumightdoitthis ...,UsingjQuerythrottle/debounce,youcanpassadelayandfunctionto$.debouncetogetanewfunction,thatwhencalledrepetitively,executestheo...。參考影片的文章的如下: